package com.lanou.bbs.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

// 回复评论
public class Deck {
    private int did; // 回复评论的id
    private String deckContent; //回复评论的内容
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date deckDate; // 回复评论的日期
    private int deckState;// 回复评论的状态
    private int uid; // 回复评论的用户
    private int rid; // 被回复的评论id

    public int getDid() {
        return did;
    }

    public Deck setDid(int did) {
        this.did = did;
        return this;
    }

    public String getDeckContent() {
        return deckContent;
    }

    public Deck setDeckContent(String deckContent) {
        this.deckContent = deckContent;
        return this;
    }

    public Date getDeckDate() {
        return deckDate;
    }

    public Deck setDeckDate(Date deckDate) {
        this.deckDate = deckDate;
        return this;
    }

    public int getDeckState() {
        return deckState;
    }

    public Deck setDeckState(int deckState) {
        this.deckState = deckState;
        return this;
    }

    public int getUid() {
        return uid;
    }

    public Deck setUid(int uid) {
        this.uid = uid;
        return this;
    }

    public int getRid() {
        return rid;
    }

    public Deck setRid(int rid) {
        this.rid = rid;
        return this;
    }
}
